package com.dubbo.dubboclient.aervice;


import com.alibaba.dubbo.config.annotation.Reference;
import com.api.UserService;
import com.entity.UserInfo;
import org.springframework.stereotype.Service;

@Service
public class DubboService {

    @Reference
    private UserService userService ;

    public void register(UserInfo userInfo ){

        userService.register(userInfo);
    }
}
